<?php
namespace app\index\controller;
use think\Controller;


class SelfName extends Controller
{
    public function __construct()
    {
        parent::__construct();
       
		$nav_one = 	$this->nav_one();
		$figure = $this->figure();
		$postion =$this->postion();
    }
	/**
	 * 显示common部分
	 */
	 
	 protected function nav_one()
	 {
		$where['parent_id']=0;
		$where['display_nav']=1;
		$nav_one = M('term')->where($where)->select();
		$this->assign('nav_one',$nav_one);
		 	 
     }

     protected function figure()
	 {
		 $figure = M('links')->where('lid=15')->select();
		 $this->assign('figure',$figure);
	 }
     
	 protected function postion()
	 {
      
	 }










  
	
}

